package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 账单标签对象 bill_lable
 * 
 * @author ruoyi
 * @date 2023-03-17
 */
public class BillLable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 字段类型：0-支出，1-收入 */
    @Excel(name = "字段类型：0-支出，1-收入")
    private Integer incomeType;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 备注 */
    @Excel(name = "备注")
    private String description;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setIncomeType(Integer incomeType) 
    {
        this.incomeType = incomeType;
    }

    public Integer getIncomeType() 
    {
        return incomeType;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("incomeType", getIncomeType())
            .append("name", getName())
            .append("description", getDescription())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
